#app {
  // min-height: 100vh;
  width: 100vw;
  display: flex;
  user-select: none;
 

  
}
* {
  margin: 0;
  right: 0;
  box-sizing: border-box;
}
.tool-wrap {
  width: 300px;
  border-left: 1px solid #eee;
  padding:  0 10px;
  .showList-tool{
    padding: 10px 0;
  }
  .rect-wrap{
    max-height: 300px;
    overflow-y: scroll;
    
    .list-item{
      border: 1px solid #000;
      margin-bottom: 10px;
      padding: 10px;
      position: relative;
      .delete{
        position: absolute;
        right: 5px;
        top: 5px;
      }
      div{
        padding-bottom: 5px;
      }
    }
  }
}

.pic-wrap {
  width: calc(100% - 300px);
  min-width: 1000px;
  // width;
  height: 100vh;
  background-color: #ccc;
  overflow: scroll;
  &::-webkit-scrollbar {
    width: 10px;
  }
  /* 设置中间的小快 */


  &::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #333;
  }
  /* 设置滚动区背景 */
  &::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #fff;
  }
  .rect-item{
    position: absolute;
    font-size: 30px;
    display:flex;
    align-items: center;
    justify-content:center;
    
  }
  .save-tool {
    left: 0;
    bottom: -40px;
    position: absolute;
    width: 100px;
  }
  .bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .2);
 
  }
  .draw-wrap {
    position: relative;
    .draw-rect {
      position: absolute;
      border: 1px solid #f00;
    }
    img {
      user-select: none;
      pointer-events: none;
      display: none;
    }
  }
}
